/*
 * @Descripttion: your project
 * @version: 1.0
 * @Author: huxin
 * @Date: 2023-06-28 15:56:04
 * @LastEditTime: 2023-11-01 18:32:09
 */
import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/home/Home.vue'
// import Index from '@/views/music/Index.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home,
      // redirect: '/about'
    },
    {
      path: '/homeView',
      name: 'homeView',
      // component: HomeView,
      component: () => import('../views/home/HomeView.vue')
    },
    {
      path: '/about',
      name: 'about',
      component: () => import('../views/about/About.vue')
    },
    {
      path: '/aboutView',
      name: 'aboutView',
      component: () => import('../views/about/AboutView.vue')
    },
    {
      path: '/music',
      name: 'music',
      // component: Index,
      component: () => import('../views/music/Index.vue')
    },
  ]
})

export default router
